<%-- 
    Document   : test
    Created on : May 23, 2011, 11:04:31 PM
    Author     : ToanNhan
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <form method="POST" enctype="application/x-www-form-urlencoded"
              action="https://accounts.google.com/o/oauth2/token">
            <table>
                <tr>
                    <td>
                        client_id
                    </td>
                    <td>
                        306001726449-fc06vh80bfdq0ngehpbfi991p3b2f6t0.apps.googleusercontent.com
                        <input type="hidden" name="client_id" value="306001726449-fc06vh80bfdq0ngehpbfi991p3b2f6t0.apps.googleusercontent.com"/>
                    </td>
                </tr>
                <tr>
                    <td>
                        client_secret
                    </td>
                    <td>
                        fCYq_66_lVZljsmdOdqgHiQC
                        <input type="hidden" name="client_secret" value="fCYq_66_lVZljsmdOdqgHiQC"/>
                    </td>
                </tr>
                <tr>
                    <td>
                        grant_type
                    </td>
                    <td>
                        authorization_code
                        <input type="hidden" name="grant_type" value="authorization_code" />
                    </td>
                </tr>
                <tr>
                    <td>
                        redirect_uri
                    </td>
                    <td>
                        urn:ietf:wg:oauth:2.0:oob
                        <input type="hidden" name="redirect_uri" value="urn:ietf:wg:oauth:2.0:oob"/>
                    </td>
                </tr>
                <tr>
                    <td>
                        code
                    </td>
                    <td>
                        <input type="text" style="width: 250px" name="code"/>
                    </td>
                </tr>
                <tr>
                    <td align="center" colspan="2">
                        <input type="submit" value="Test"/>
                    </td>
                </tr>
            </table>
        </form>
    </body>
</html>
